﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UWarrantyCardVipList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.UserModel.UWarrantyCardVipList" %>
<form id="pagerForm" method="post" action="UserModel/UWarrantyCardVipList.aspx">
<input type="hidden" name="SerialNumber" value="<%=SerialNumber %>" />
<input type="hidden" name="CustomerName" value="<%=CustomerName %>" />
<input type="hidden" name="CustomerIDCard" value="<%=CustomerIDCard %>" />
<input type="hidden" name="AgentName" value="<%=AgentName %>" />
<input type="hidden" name="Birthday" value="<%=Birthday %>" />
<input type="hidden" name="AgentAddress" value="<%=AgentAddress %>" />

<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="<%=numPerPage %>" />
</form>
<form id="form1" runat="server" method="post" action="UserModel/UWarrantyCardVipList.aspx" onsubmit="return navTabSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                   机号：
                </td>
                <td>
                   <input name="SerialNumber" type="text" value="<%=SerialNumber %>" />
                </td>
                <td>
                    客户姓名：                       
                </td>
                <td>
                   <input name="CustomerName" type="text" value="<%=CustomerName %>" />
                </td>
                <td>
                    客户身份证：                       
                </td>
                <td>
                   <input name="CustomerIDCard" type="text" value="<%=CustomerIDCard %>" />
                </td>
                
                <td rowspan="2">
                    <div class="subBar">
            <ul>
                <li>
                    <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                </li>
            </ul>
        </div>
                </td>
            </tr>
            <tr>
                <td>
                   经销商名称：
                </td>
                <td >
                   <input name="AgentName" type="text" value="<%=AgentName %>" />
                </td>
                <td>
                   经销商地址：
                </td>
                <td >
                   <input name="AgentAddress" type="text" value="<%=AgentAddress %>" />
                </td>
                <td>
                    生日：                       
                </td>
                <td>
                   <input name="Birthday" type="text" value="<%=Birthday %>" class="date" readonly="readonly" pattern="MM-dd" />
                </td>
            </tr>
        </table>
        
    </div>
</div>
<div class="pageContent">
    
   <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layoutH="110">
        <thead>
            <tr  >                
                <th width="80"  <%=GetDataListOrder("MachineType") %> >
                    机型
                </th>
                <th   <%=GetDataListOrder("SerialNumber") %>>
                    机号
                </th>
                <th  <%=GetDataListOrder("IntoDate") %> >
                    交机日期
                </th>
                 <th  <%=GetDataListOrder("AgentName") %> >
                    经销商
                </th> 
                <th >
                    客户姓名
                </th>
                <th  align="center">
                    客户手机
                </th>
                <th >
                    生日
                </th>
                               
                <th >
                    客户地址
                </th>    
                <th <%=GetDataListOrder("MacNum") %>>机器台数</th>                          
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("UWCID") %>">
				<td><%# Eval("MachineType")%></td>
				<td>
                <%# Eval("SerialNumber")%>
                </td>
				<td><%# Convert.ToDateTime(Eval("IntoDate")).ToString("yyyy-MM-dd")%></td>
                <td><%# Eval("AgentName")%></td>
				<td>
                    <a target="navTab" title="查看保修卡"  style="color:Green;" rel="UWarrantyCardList" fresh="true" href="UserModel/UWarrantyCardList.aspx?CustomerIDCard=<%# Eval("CustomerIDCard") %>">
                        <%# Eval("CustomerName")%>
                    </a>
                </td>
				<td><%# Eval("CustomerMobile")%></td>
				<td><%# Eval("Birthday")%></td>
                <td><%# Eval("CustomerAddress")%></td>
                <td><%# Eval("MacNum")%></td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
             <tr class="totalitemtr">
                <td colspan="8"  >合计:</td>
                <td ><%= GetSUMDT("MacNum")%></td>
             </tr>
            </tbody>            
         </table>
        </FooterTemplate>
    </asp:repeater>
    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
               <%=SetnumPerPage() %>
            </select>
            <span>条，共<%=TotalCount%>条</span>
        </div>
        <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>"
            pagenumshown="10" currentpage="<%=pageNum %>">
        </div>
    </div>
</div>
</form>
